home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / incoming / jstools-.6v3 / jstools- / jstools-tk3.6v3.0 / lib / jhelp / jhelp.jhelp < prev   
Encoding:
Text File  |  1995-02-05  |  23.0 KB  |  134 lines

  1. qsection Introduction {{The jhelp application was developed as a tool for displaying online manuals for Tk¡based applications.  (Of course, there's no reason it can't be used for other kinds of files as well.)  The help files it displays consist of one or more sections, and you can view the sections in any order.
  2.  
  3. The jhelp help viewer is distributed as part of the jstools package.
  4.  
  5. This help file describes jhelp version 3.6/2.0.
  6. }} {{{sel {}} {hilight {}} {xref-topic {}} {xref-section {}} {j:rt:rm {1.0 1.4 1.9 1.237 1.246 3.4 3.9 3.52 3.59 5.25 5.30 6.0}} {j:rt:it {1.237 1.246}} {j:rt:bf {3.52 3.59}} {j:rt:bi {}} {j:rt:tt {1.4 1.9 3.4 3.9 5.25 5.30}} {j:rt:hl {}} {TOPIC:jedit {}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}}} {{matchend 6.0} {abbrevstart 3.10} {del_from 6.0} {insert 1.0} {matchstart 6.0} {del_to 6.0} {anchor 5.30} {current 1.0}}}
  7.  
  8. qsection Invocation {{Usage:
  9.     jhelp topic
  10.  
  11. jhelp is intended to be invoked automatically by Tk¡based applications, but you can also invoke it yourself from the command line by typing `jhelp topic', where topic is the name of a jhelp help file.  If the requested file can't be found, an alert box will tell you so.
  12.  
  13. If you don't specify a topic, you'll be prompted to choose one from a list of available help files.}} {{{sel {}} {hilight {}} {xref-topic {}} {xref-section {}} {j:rt:rm {1.0 2.1 2.12 4.0 4.5 4.141 4.152 4.161 4.166 4.184 4.189 6.23 6.28 6.99}} {j:rt:it {2.7 2.12 4.147 4.152 4.161 4.166 6.23 6.28}} {j:rt:bf {}} {j:rt:bi {}} {j:rt:tt {2.1 2.7 4.0 4.5 4.141 4.147 4.184 4.189}} {j:rt:hl {}} {TOPIC:jedit {}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}}} {{matchend 6.99} {abbrevstart 6.99} {del_from 6.99} {insert 1.0} {matchstart 6.99} {del_to 6.99} {anchor 4.186} {current 6.99}}}
  14.  
  15. qsection {Using the Help Viewer} {{When it starts (and successfully reads in a help file), jhelp displays the first section.
  16.  
  17. Buttons
  18. There are three buttons at the bottom of the help window:
  19.  
  20. The `Done' button closes the window and quits the help viewer.  (It's the same as choosing `Quit' from the `Help' menu.)
  21.  
  22. The `Next' button lets you view the next section.  It's disabled if you're currently viewing the last section in the help file.
  23.  
  24. The `Back' button lets you go back to the previous section.  It's disabled if you're currently viewing the first section in the help file.
  25.  
  26. The Sections Menu
  27. The sections are listed under the `Sections' menu, and you can go to a particular section by choosing it from the menu.  The section you choose will be displayed in the main text area of the window.  If it is too long to fit in the window all at once, you can use the scrollbar to scroll through the whole section.  (You can also scan through the text by dragging with the middle mouse button.)  When you're done, you can quit either by clicking the big `Done' button at the bottom of the window, or by choosing `Quit' from the `Help' menu.
  28.  
  29. The Topics Menu
  30. You can choose `Select a Topic...' from the `Topics' menu to choose a new help file from a list of available topics.
  31.  
  32. The Help Menu
  33. You can get help about the jhelp application itself - this file - by choosing `Help with Help' from the `Help' menu, and `About Help' under the `Help' menu displays an information panel about the program, with copyright information and my email address.
  34.  
  35. `Issue Tcl Command...' brings up a panel that prompts you for a Tcl command to be executed.  This is mainly useful for debugging.
  36.  
  37. There are also preferences panels, described under Preferences, which you can get by choosing `Global Preferences...' or `Help Viewer Preferences...' under the `Help' menu.}} {{{sel {}} {hilight {}} {xref-topic {}} {xref-section {23.51 23.62}} {j:rt:rm {1.0 1.56 1.61 3.0 4.0 12.0 12.17 15.0 15.15 18.0 18.13 19.27 19.32 23.51 23.62 23.172}} {j:rt:it {}} {j:rt:bf {}} {j:rt:bi {23.51 23.62}} {j:rt:tt {1.56 1.61 19.27 19.32}} {j:rt:hl {3.0 4.0 12.0 12.17 15.0 15.15 18.0 18.13}} {TOPIC:jedit {}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}} {SECTION:Preferences {23.51 23.62}}} {{matchend 23.113} {abbrevstart 23.148} {del_from 23.172} {insert 1.0} {matchstart 23.102} {del_to 11.0} {anchor 23.150} {current 10.72}}}
  38.  
  39. qsection {Keyboard Shortcuts} {{Some commands have keyboard shortcuts, which appear in brackets beside the menu entry.  To invoke a keyboard shortcut, hold down whatever the Meta key is on your keyboard, and press the key in brackets. (The Meta key is labelled differently on different keyboards; it may be marked `Meta', `Alt', `Mod', or something else.  On current Sun keyboards, it's marked with a little diamond.)  You may also need to hold down the Shift key; for instance, Meta-l is `Select a Topic...', but Meta-Shift-T is `Issue Tcl Command...'.}} {{{sel {}} {hilight {}} {xref-topic {}} {xref-section {}} {j:rt:rm {1.0 1.142 1.146 1.208 1.212 1.422 1.427 1.447 1.453 1.482 1.494 1.521}} {j:rt:it {}} {j:rt:bf {1.142 1.146 1.208 1.212 1.422 1.427 1.447 1.453 1.482 1.494}} {j:rt:bi {}} {j:rt:tt {}} {j:rt:hl {}} {TOPIC:jedit {}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}} {SECTION:Preferences {}}} {{matchend 1.521} {abbrevstart 1.521} {del_from 1.521} {insert 1.0} {matchstart 1.521} {del_to 1.521} {anchor 1.521} {current 1.521}}}
  40.  
  41. qsection Preferences {{Two different preference panels, available under the `Help' menu, allow you to change the look¡and¡feel of the help viewer, and a little bit of its behaviour.
  42.  
  43. The Global Preferences panel lets you set preferences that apply to all the jstools applications (such as jbrowser and jedit), and any other Tk applications that choose to honour them.  The Help Viewer Preferences panel lets you set preferences that only apply to the jhelp application itself.
  44.  
  45. On both of the panels, clicking `Save' will save the currently¡displayed preferences, so they'll be used the next time you start up jhelp, while clicking `Done' won't save them for future use, but will apply them to your current editing session.
  46.  
  47. Global Preferences...
  48. If `Auto¡position dialogue boxes' is selected, then the help viewer will attempt to centre dialogue boxes (like the Preferences panel itself) on the screen.  Otherwise it will let your window manager position them (and your window manager may ask you to choose a position for them).
  49.  
  50. If `Confirm actions' is selected, the help viewer will ask for confirmation before certain actions, such as quitting or overwriting an existing file.  This is the default, but you will no doubt quickly become annoyed with it.  You are welcome to turn it off.
  51.  
  52. If `Strict Motif Emulation' is not selected, user¡interface components such as buttons and scrollbars will highlight when the mouse pointer is moved over them to indicate they are active.  If it is selected, they will not change colour.  This preference doesn't take effect until the next time an application is run.
  53.  
  54. If `Scrollbars on left' is selected, scrollbars will be put to the left of the objects (normally text widgets or listboxes) they control; otherwise they'll be put to the right.  This preference doesn't take effect until the next time a window with a scrollbar is created (i.e., windows that are already on the screen won't have their scrollbars moved).
  55.  
  56. The next three radio buttons let you select what kind of keyboard bindings you want.  `Basic bindings' gives you a very basic interface, which supports the arrow keys, the mouse, the Home, End,  Next, and Prior (or PageUp and PageDown) keys if your keyboard has them, and not much else.  `Emacs bindings' gives you keyboard bindings modelled after the default keyboard commands of the Emacs editor, including the use of Control-u or Escape+number for repetition.  `vi bindings' will give you keyboard bindings modelled after those of the vi editor, but it isn't yet available in this version.
  57.  
  58. Note that you can also customise your keyboard bindings by putting Tcl commands to set Text and Entry bindings in a file called ~/.textbindings.tcl.  For more information on this see the section Customising the Help Viewer.
  59.  
  60. The `Printer:' field lets you type in the name of your printer.  This is used for the `Print...' command.
  61.  
  62. Global preferences are saved in the file ~/.tk/defaults.
  63.  
  64. Help Viewer Preferences...
  65. The Help Viewer Preferences panel lets you customise the appearance of the big text area that contains the help file.  It lets you set size of the window, the colours used to display the text, the width of the raised border drawn around selected text, and the width of the blank border around the entire text window.
  66.  
  67. The `Width:' and `Height:' fields let you change the width (in columns) and height (in characters) of the help viewer.  Because the help viewer can display fonts of various sizes and the characters aren't necessarily all the same width, these figures are approximate.
  68.  
  69. The buttons labelled `RGB' let you select a colour by manipulating sliders that represent the individual red, green, and blue components of the colour you're choosing.  The buttons labelled `Name' let you select a colour by name, from the list of colours known on your system.
  70.  
  71. (Note: If the name of the colour database on your system isn't /usr/lib/X11/rgb.txt, then the `Name' colour buttons won't list all the colours available.)
  72.  
  73. Help viewer preferences are saved in the file ~/.tk/jhelp-defaults.
  74. }} {{{sel {}} {hilight {}} {xref-topic {3.106 3.114 3.119 3.124}} {xref-section {18.195 18.222}} {j:rt:rm {1.71 3.76 3.83 3.106 3.114 3.119 3.124 3.214 3.228 3.268 3.273 5.132 5.137 5.197 5.201 7.0 8.0 12.31 12.34 12.195 12.197 16.183 16.187 16.189 16.192 16.195 16.199 16.205 16.210 16.215 16.221 16.226 16.234 16.420 16.429 16.433 16.446 16.538 16.540 18.128 18.147 18.195 18.223 22.41 22.55 24.0 25.0 31.63 31.83 33.46 33.66 34.0}} {j:rt:it {5.197 5.201 12.31 12.34 12.195 12.197 16.440 16.446}} {j:rt:bf {16.183 16.187 16.189 16.192 16.195 16.199 16.205 16.210 16.215 16.221 16.226 16.234 16.420 16.429 16.433 16.439 18.128 18.147 22.41 22.55 31.63 31.83 33.46 33.66}} {j:rt:bi {18.195 18.222}} {j:rt:tt {3.76 3.83 3.106 3.114 3.119 3.124 3.268 3.273 5.132 5.137 16.538 16.540}} {j:rt:hl {7.0 8.0 24.0 25.0}} {TOPIC:jedit {3.119 3.124}} {{SECTION:Customising the Editor} {18.195 18.222}} {TOPIC:jbrowser {3.106 3.114}} {SECTION:Preferences {}}} {{matchend 24.11} {abbrevstart 27.255} {del_from 34.0} {insert 1.0} {matchstart 24.5} {del_to 34.0} {anchor 16.461} {current 2.0}}}
  75.  
  76. qsection {About Help Files} {{jhelp looks for help files in /usr/local/lib/tk/jhelp (that's the directory jhelp in the standard Tk library directory), in the directories tk/jhelp or .tk/jhelp in your home directory if they exist, and in the current directory.  Help files end in the extension `.jhelp', so for the command `jhelp jlibrary.tcl' to succeed, there must be a file named jlibrary.tcl.jhelp in one of those three directories.
  77.  
  78. To see what help files are available, choose `Select a Topic...' from the `Topics' menu.
  79.  
  80. The help files are in an unusual format, but they are ASCII text files, and in a pinch you can read them directly.
  81. }} {{{sel {}} {hilight {}} {xref-topic {}} {xref-section {}} {j:rt:rm {1.5 1.30 1.53 1.76 1.81 1.140 1.148 1.152 1.161 1.264 1.270 1.293 1.311 1.352 1.370 6.0}} {j:rt:it {}} {j:rt:bf {1.30 1.53 1.76 1.81 1.140 1.148 1.152 1.161 1.352 1.370}} {j:rt:bi {}} {j:rt:tt {1.0 1.5 1.264 1.270 1.293 1.311}} {j:rt:hl {}} {TOPIC:jedit {}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}} {SECTION:Preferences {}}} {{matchend 1.148} {abbrevstart 6.0} {del_from 6.0} {insert 1.0} {matchstart 1.143} {del_to 6.0} {anchor 5.54} {current 6.0}}}
  82.  
  83. qsection {Writing Help Files} {Important\ Note:\nThe\ help\ file\ format\ described\ in\ this\ section\ is\ an\ old\ format.\ \ It's\ still\ supported,\ but\ the\ help\ files\ distributed\ with\ the\ jstools\ applications\ are\ in\ a\ different\ format\ which\ is\ a\ little\ less\ human¡readable.\ \ This\ format\ can\ be\ created\ using\ the\ jedit's\ help\ mode\ (type\ jedit\ -mode\ help\ &).\ \ Unfortunately,\ I\ haven't\ written\ documentation\ for\ this\ yet.\ \ In\ the\ future,\ I\ hope\ to\ support\ and\ distribute\ a\ help¡file\ format\ that's\ more\ human¡readable,\ but\ that\ can\ be\ edited\ directly\ with\ jedit.\n\nThe\ Document\ Model\nThe\ jhelp\ application\ is\ based\ on\ a\ simple\ two¡tiered\ model\ of\ document\ structure:\ a\ jhelp\ document\ consists\ of\ several\ named\ sections,\ and\ each\ section\ is\ a\ chunk\ of\ formatted\ text.\ \ There\ are\ no\ subsections,\ nor\ any\ other\ document\ structures\ such\ as\ indices\ or\ figures.\ \ (Of\ course,\ you\ can\ put\ whatever\ content\ you\ want\ in\ a\ help\ file,\ but\ the\ only\ document\ structures\ that\ jhelp\ manipulates\ are\ sections.)\n\nThe\ first\ section\ should\ be\ an\ introduction\ to\ or\ overview\ of\ your\ topic,\ because\ it\ will\ be\ displayed\ on\ startup.\ Also,\ if\ you\ think\ your\ users\ might\ need\ help\ with\ the\ buttons,\ the\ `Sections'\ menu\ or\ the\ scrollbar,\ you\ should\ put\ that\ information\ near\ the\ top\ of\ the\ first\ section.\n\nFormat\ of\ a\ Section\nThe\ basic\ format\ of\ a\ section\ is\ this:\n\nsection\ \"section\ name\"\ {\ntext\ of\ section\n(normally\ several\ lines)\nin\ a\ special\ format\n}\n\nand\ you\ can\ have\ one\ or\ more\ sections\ in\ a\ help\ file.\ (If\ you\ don't\ have\ at\ least\ one,\ you\ will\ have\ two\ problems:\ your\ help\ file\ won't\ say\ anything,\ and\ jhelp\ will\ generate\ an\ error\ when\ it\ finds\ it\ is\ unable\ to\ display\ the\ first\ section.)\n\nEach\ line\ of\ text\ within\ the\ section\ needs\ to\ be\ enclosed\ in\ double\ quotation\ marks\ (\"\ ...\ \"),\ and\ preceded\ by\ a\ keyword\ specifying\ what\ font\ it\ should\ be\ displayed\ in.\ \ The\ choices\ of\ font\ are\ \n\nrm\tnormal\ Roman\ type,\nit\tItalic\ type\ like\ this,\nbf\tbold\ type\ like\ this,\nbi\tbold\ Italic\ type\ like\ this,\ntt\ttypewriter¡text\ type\ like\ this,\ and\nhl\t`headline'\ type,\ like\ this.\n\n(Typewriter¡text\ is\ useful\ in\ examples,\ and\ `headline'\ type\ is\ useful\ if\ you\ want\ to\ delineate\ subsections\ within\ a\ section.)\n\nSo\ a\ section\ might\ look\ like\ this:\n\nsection\ \"Introduction\"\ {\nrm\ \"The\ \"\ntt\ \"widget\"\nrm\ \"\ demo\ is\ a\ demonstration\ of\ all\ the\ widgets\ available\ \"\nrm\ \"in\ the\ \"\nbf\ \"Tk\"\nrm\ \"\ toolkit.\"\n}\n\nNote\ that\ you\ need\ to\ put\ spaces\ inside\ the\ quotes\ at\ the\ beginning\ or\ end\ of\ each\ line\ -\ the\ lines\ are\ run\ together\ to\ form\ paragraphs,\ and\ spaces\ are\ not\ inserted\ for\ you\ between\ the\ last\ word\ of\ a\ line\ and\ the\ first\ word\ of\ the\ next.\ \ (This\ fact\ lets\ you\ switch\ fonts\ in\ the\ middle\ of\ a\ word.)\n\nTo\ separate\ paragraphs,\ use\ the\ par\ keyword,\ which\ should\ appear\ on\ a\ line\ by\ itself.\ \ You\ can\ force\ a\ line\ break\ with\ the\ cr\ keyword,\ and\ you\ can\ insert\ a\ tab\ with\ the\ tab\ keyword\;\ like\ par,\ these\ should\ occur\ on\ a\ line\ by\ themselves.\ \ For\ example:\n\nrm\ \"...as\ given\ in\ the\ following\ table:\"\npar\ntt\ \"rm\"\ntab\nrm\ \"Roman\ type\"\ncr\ntt\ \"it\"\ntab\nrm\ \"Italic\ type\"\n\nA\ number\ of\ characters\ are\ special\ to\ the\ jhelp\ application,\ and\ must\ be\ preceded\ by\ a\ backslash\ (\\)\ if\ they\ appear.\ \ These\ are\ the\ following:\n\n\t\[\ \]\ {\ }\ \$\ \"\ \\\n\nAlso,\ if\ you\ need\ to\ include\ non¡ASCII\ characters\ from\ the\ ISO-8895-1\ character\ set,\ such\ as\ accented\ characters\ or\ the\ copyright\ symbol\ (⌐),\ you\ can\ specify\ them\ using\ the\ notation\ \\nnn,\ where\ nnn\ is\ the\ character\ code\ in\ octal.\ \ An\ especially\ common\ case\ is\ the\ hyphen,\ \\255,\ which\ is\ shorter\ than\ the\ minus\ sign\ available\ on\ the\ keyboard.\n} {{{sel {}} {hilight {}} {xref-topic {2.252 2.257 2.492 2.497}} {xref-section {}} {j:rt:rm {5.0 5.4 5.9 5.85 5.90 5.126 5.135 5.306 5.313 5.377 5.382 9.0 10.0 12.0 12.24 13.0 13.15 14.0 14.24 15.0 15.19 16.0 16.1 18.154 18.159 22.0 22.2 23.0 23.2 23.15 23.25 24.0 24.2 24.13 24.23 25.0 25.2 25.20 25.30 26.0 26.2 26.24 26.33 27.0 27.2 27.20 27.30 33.0 33.24 34.0 34.9 35.0 35.11 36.0 36.59 37.0 37.12 38.0 38.7 39.0 39.14 40.0 40.1 44.32 44.35 44.123 44.125 44.169 44.172 44.187 44.190 46.0 46.40 47.0 47.3 48.0 48.7 49.0 49.3 50.0 50.15 51.0 51.2 52.0 52.7 53.0 53.3 54.0 54.16 56.42 56.47 58.1 58.14 60.182 60.186 60.194 60.197 60.272 60.276 61.0}} {j:rt:it {5.126 5.135 5.306 5.313 12.9 12.21 13.0 13.15 14.0 14.24 15.0 15.19 23.15 23.25 60.183 60.186 60.194 60.197}} {j:rt:bf {24.13 24.23}} {j:rt:bi {25.20 25.30}} {j:rt:tt {2.128 2.135 2.252 2.257 2.276 2.294 2.492 2.497 5.4 5.9 5.85 5.90 5.377 5.382 12.0 12.9 12.21 12.24 16.0 16.1 18.154 18.159 22.0 22.2 23.0 23.2 24.0 24.2 25.0 25.2 26.0 26.2 26.24 26.33 27.0 27.2 33.0 33.24 34.0 34.9 35.0 35.11 36.0 36.59 37.0 37.12 38.0 38.7 39.0 39.14 40.0 40.1 44.32 44.35 44.123 44.125 44.169 44.172 44.187 44.190 46.0 46.40 47.0 47.3 48.0 48.7 49.0 49.3 50.0 50.15 51.0 51.2 52.0 52.7 53.0 53.3 54.0 54.16 56.42 56.47 58.1 58.14 60.182 60.183 60.272 60.276}} {j:rt:hl {1.0 2.0 4.0 5.0 9.0 10.0 27.20 27.30}} {TOPIC:jedit {2.252 2.257 2.492 2.497}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}} {SECTION:Preferences {}}} {{matchend 61.0} {abbrevstart 7.183} {del_from 61.0} {insert 1.0} {matchstart 61.0} {del_to 61.0} {anchor 7.183} {current 2.116}}}
  84.  
  85. qsection {Implementation Notes} {{The jhelp application works by defining a number of Tcl procedures: section, rm, it, cr, and so forth.  The procedures which display text, like rm, each take one argument, the text to be displayed in that font.  (These procedures are defined in the jrichtext.tcl library.)  The whole thing is driven by the section procedure, which takes two arguments: the name of the section and the Tcl commands to produce the text of that section.  It creates a new menu entry under `Sections' with the name specified by the first argument, which executes the second argument (along with some supporting code) as a Tcl procedure.
  86.  
  87. Help files which are automatically generated by jedit's help mode use the qsection procedure instead of section.  Instead of commands for formatting text in particular styles, the arguments to qsection include the entire text as a single chunk, and information about which ranges of characters are in particular styles.
  88.  
  89. Because a help file is a set of commands (albeit specially¡defined commands) in the Tcl language, you can do a lot more in a help file than might at first be apparent.  For instance, a help file could create new jhelp menus, or change the user interface in other ways. Also, the help text doesn't have to be formatted exactly as described under Writing Help Files.  However, for legibility, and in order to insure compatibility with future tools, help files that really are intended as help files should try to conform to the rules set out in that section.
  90.  
  91. Future Plans
  92. One `future tool' I have in mind is a tool that will take jhelp help files and, by redefining the basic procedures, turn them into various other formats, such as man pages, TeX source, or PostScript.}} {{{sel {}} {hilight {}} {xref-topic {1.249 1.262 3.48 3.53}} {xref-section {5.345 5.363}} {j:rt:rm {1.0 1.4 1.9 1.68 1.75 1.77 1.79 1.81 1.83 1.85 1.87 1.144 1.146 1.249 1.262 1.307 1.314 3.48 3.53 3.74 3.82 3.104 3.111 3.193 3.201 5.212 5.217 5.345 5.363 7.0 7.12 8.58 8.63 8.199}} {j:rt:it {}} {j:rt:bf {}} {j:rt:bi {5.345 5.363}} {j:rt:tt {1.4 1.9 1.68 1.75 1.77 1.79 1.81 1.83 1.85 1.87 1.144 1.146 1.249 1.262 1.307 1.314 3.48 3.53 3.74 3.82 3.104 3.111 3.193 3.201 5.212 5.217 8.58 8.63}} {j:rt:hl {7.0 7.12}} {TOPIC:jedit {3.48 3.53}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}} {SECTION:Preferences {}} {{SECTION:Writing Help Files} {5.345 5.363}} {TOPIC:jrichtext.tcl {1.249 1.262}}} {{matchend 8.199} {abbrevstart 3.298} {del_from 8.199} {insert 1.0} {matchstart 8.199} {del_to 8.199} {anchor 3.196} {current 3.238}}}
  93.  
  94. qsection {Customising Help} {{The jhelp application will read in the file .tk/jhelprc.tcl in your home directory if it exists.  You can customise the user interface by putting Tcl code in that file.
  95.  
  96. (You can also do some customisation through the preferences panels, described under Preferences.  Also, jhelp reads your .textbindings.tcl file if you have one, although that isn't too useful in a help viewer.)
  97.  
  98. If jhelp was installed properly at your site, the directory /usr/local/lib/tk/jhelp/samples should contain some example files which you can copy and rename appropriately and modify.  You may also find it useful to look at the jhelp script itself, and for information about Tcl syntax you should consult the Tcl man page.}} {{{sel {}} {hilight {}} {xref-topic {}} {xref-section {3.84 3.95}} {j:rt:rm {1.0 1.4 1.9 1.44 1.59 3.84 3.95 3.104 3.109 3.121 3.138 5.3 5.8 5.60 5.91 5.226 5.231 5.320}} {j:rt:it {}} {j:rt:bf {1.44 1.59 3.121 3.138 5.60 5.91}} {j:rt:bi {3.84 3.95}} {j:rt:tt {1.4 1.9 3.104 3.109 5.3 5.8 5.226 5.231}} {j:rt:hl {}} {TOPIC:jedit {}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}} {SECTION:Preferences {3.84 3.95}} {{SECTION:Writing Help Files} {}} {TOPIC:jrichtext.tcl {}}} {{matchend 5.320} {abbrevstart 3.78} {del_from 5.320} {insert 1.0} {matchstart 5.320} {del_to 5.320} {anchor 1.6} {current 1.0}}}
  99.  
  100. qsection {Changes, Bugs, and Future Directions} {{Future Directions
  101. Support for generating hardcopy is sorely needed.
  102.  
  103. It would be useful to allow help files to include other help files, or parts of them.
  104.  
  105. I want to add support for specifying fonts to the Help Viewer Preferences panel.
  106.  
  107. There should be a Find panel.
  108.  
  109. You should be able to nest sections arbitrarily - i.e., the help viewer should support arbitrary levels of subsections.
  110.  
  111. Hypertext links should be much more versatile - you should be able to go to locations within a section.  It might be nice to provide hypertext links for man pages as well.
  112.  
  113. In the long term, I want to go to a more standard format like TeXinfo or HTML for help files.
  114.  
  115. Known Bugs and Misfeatures
  116. None that I can think of, but then, it's not a very ambitious application.
  117.  
  118. Changes since Version 3.2/1.0
  119. The following changes have been made since version 3.2/1.0 of help.tk:
  120.  
  121. * The extension for help files has been changed.  Also, jhelp is now much less forgiving about the extensions on help files.
  122.  
  123. * The name has been changed to jhelp, to avoid having a period in the X application name and to avoid potential conflict with other applications.
  124.  
  125. * Support for a new help file format based on the qsection procedure has been added.  This was done in order to make it easier to write a help¡text editing mode for jedit.  (It's also noticeably faster.)  The new format also supports rudimentary hypertext links.
  126.  
  127. * The `Topics' menu is new, as is that fact that jhelp will prompt you rather than complaining if you don't specify a help file on the command line.
  128.  
  129. * The `Back' and `Next' buttons are new.
  130.  
  131. * The preferences mechanism has been changed, and the preferences panel has been split in two.
  132. }} {{{sel {}} {hilight {}} {xref-topic {}} {xref-section {}} {j:rt:rm {}} {j:rt:it {}} {j:rt:bf {}} {j:rt:bi {}} {j:rt:tt {20.62 20.69 22.56 22.61 24.31 24.36 26.50 26.58 26.165 26.170 28.49 28.54}} {j:rt:hl {1.0 2.0 16.0 17.0 19.0 20.0}} {TOPIC:jedit {}} {{SECTION:Customising the Editor} {}} {TOPIC:jbrowser {}} {SECTION:Preferences {}} {{SECTION:Writing Help Files} {}} {TOPIC:jrichtext.tcl {}}} {{matchend 33.0} {abbrevstart 23.0} {del_from 33.0} {insert 1.0} {matchstart 33.0} {del_to 33.0} {anchor 23.0} {current 2.18}}}
  133.  
  134.